package com.itic.appbase.framework.utils;

public enum WXconfigTypeVo {
	kf("kf","开放平台"),gzh("gzh","公众号");
	private String type;
	private String name;
	WXconfigTypeVo(String type,String name){
		this.type = type;
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public static WXconfigTypeVo getWXconfigTypeVo(String type){
		WXconfigTypeVo vo = null;
		switch(type){
		case"kf":
			vo = WXconfigTypeVo.kf;
			break;
		case"gzh":
			vo = WXconfigTypeVo.gzh;
			break;
			default:break;
		}
		return vo;
	}
}
